package org.link.bean;

import java.util.List;

/**
 * 
 * project_name:springdemo2
 * package_name:org.link.bean
 * file_name:ProCollection.java
 * @author Link
 * create_date:2015年11月13日 下午5:22:03
 * modified_date:
 * description:筛选条件集合类
 *
 */
public class ProCollection {
	private List<String> brands;	//品牌集合
	private List<Double> sizes;		//尺寸集合
	private List<String> networks;	//网络类型集合
	private List<String> roms;		//机身内存集合
	private List<Order> orders;		//排序规则
	private Integer lowPrice;		//最低价格
	private Integer highPrice;		//最高价格
	private Integer begin;			//起始位置
	private Integer rows;			//行数
	
	public ProCollection() {
		super();
	}

	public ProCollection(List<String> brands, List<Double> sizes,
			List<String> networks, List<String> roms, Integer highPrice,
			Integer lowPrice, List<Order> orders, Integer begin, Integer rows) {
		super();
		this.brands = brands;
		this.sizes = sizes;
		this.networks = networks;
		this.roms = roms;
		this.highPrice = highPrice;
		this.lowPrice = lowPrice;
		this.orders = orders;
		this.begin = begin;
		this.rows = rows;
	}

	public List<String> getBrands() {
		return brands;
	}

	public void setBrands(List<String> brands) {
		this.brands = brands;
	}

	public List<Double> getSizes() {
		return sizes;
	}

	public void setSizes(List<Double> sizes) {
		this.sizes = sizes;
	}

	public List<String> getNetworks() {
		return networks;
	}

	public void setNetworks(List<String> networks) {
		this.networks = networks;
	}

	public List<String> getRoms() {
		return roms;
	}

	public void setRoms(List<String> roms) {
		this.roms = roms;
	}

	public Integer getHighPrice() {
		return highPrice;
	}

	public void setHighPrice(Integer highPrice) {
		this.highPrice = highPrice;
	}

	public Integer getLowPrice() {
		return lowPrice;
	}

	public void setLowPrice(Integer lowPrice) {
		this.lowPrice = lowPrice;
	}

	
	public List<Order> getOrders() {
		return orders;
	}

	public void setOrders(List<Order> orders) {
		this.orders = orders;
	}

	public Integer getBegin() {
		return begin;
	}

	public void setBegin(Integer begin) {
		this.begin = begin;
	}

	public Integer getRows() {
		return rows;
	}

	public void setRows(Integer rows) {
		this.rows = rows;
	}

	@Override
	public String toString() {
		return "ProCollection [brands=" + brands + ", sizes=" + sizes
				+ ", networks=" + networks + ", roms=" + roms + ", highPrice="
				+ highPrice + ", lowPrice=" + lowPrice + ", orders=" + orders
				+ ", begin=" + begin + ", rows=" + rows + "]";
	}
}
